﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Diablo3.Engine.Property
{
    /// <summary>
    /// 秘法神圣抗性
    /// </summary>
    public class ArcaneHolyResistance : ItemsProperty, IAffecteArcaneHolyResistance
    {
        public ArcaneHolyResistance() { }

        public ArcaneHolyResistance(Double value)
        {
            Value = value;
        }

        /// <summary>
        /// 秘法抗性值
        /// </summary>
        public Double Value { get; set; }



        #region IAffecteArcaneHolyResistance 成员

        double IAffecteArcaneHolyResistance.Affecte(double source)
        {
            return Value + source;
        }

        #endregion

        public override string Des
        {
            get { return String.Format("+{0} 秘法抗性", Value); }
        }
    }
}
